package com.aizhixin.lab.docker.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;

@Data
public class Image {

    @ApiModelProperty(value = "镜像名称")
    private String name;

    @ApiModelProperty(value = "所属人")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    private String created_at;

    @ApiModelProperty(value = "镜像大小")
    private String size;

    @ApiModelProperty(value = "镜像描述")
    private String desc;

    @ApiModelProperty(value = "镜像状态")
    private String status;

    @ApiModelProperty(value = "镜像版本")
    private String version;
    @ApiModelProperty(value = "容器数量")
    private Integer num=1;
    @ApiModelProperty(value = "是否可以删除")
    private Boolean isDelete=false;
    @ApiModelProperty(value = "存活时间")
    private Long expire=5400L;
    @ApiModelProperty(value = "容器规格")
    private Integer spec=2;
    @ApiModelProperty(value = "cpu超卖倍数")
    private Integer overSold=2;
}
